package com.jic.market.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * 优惠商品明细表(包含单品类活动)
 * @author : 
 * @email : 
 * @since : 2020-05-12 04:05:48
 * @version : v1.0.0
 */
@Getter
@Setter
public class DiscountProductSingleDetail implements Serializable {
    private static final long serialVersionUID = 1L;

    //id
    private Long id;
//活动流水号
    private String promotionSerialNo;
    //订单号
    private String orderNo;
    //商品SKU
    private Long skuId;
    //第三方商品SKU
    private String thirdSkuId;
    //商品数量
    private Integer num;
    //单品类活动数量
    private Integer singleValidNum;
    //条件类活动数量
    private Integer conditionValidNum;
    //活动Id
    private String promotionId;
    //活动编码
    private String promotionCode;
    //活动类型
    private Integer promType;
    //促销类型
    private Integer frontPromType;
    //优惠总价
    private BigDecimal promotionDiscountTotalAmount;
    //优惠总运费
    private BigDecimal promotionDiscountFreightAmount;
    //单品状态，见DiscountDetailStatusEnum
    private Integer singleDiscountDetailStatus;
    //条件状态，见DiscountDetailStatusEnum
    private Integer conditionDiscountDetailStatus;
    //平台金额券状态，见DiscountDetailStatusEnum
    private Integer couponPlatAmountDiscountDetailStatus;
    //店铺金额券状态，见DiscountDetailStatusEnum
    private Integer couponStoreAmountDiscountDetailStatus;
    //代金券状态，见DiscountDetailStatusEnum
    private Integer couponProxyAmountDiscountDetailStatus;
    //运费券状态，见DiscountDetailStatusEnum
    private Integer couponFreightAmountDiscountDetailStatus;
    //是否可用:默认0否;1是
    private Boolean deleteFlag;
    //创建时间
    private Date createTime;
    //创建人
    private Long creator;
    //创建人姓名
    private String creatorName;
    //更新时间
    private Date updateTime;
    //更新人
    private Long updator;
    //更新人姓名
    private String updatorName;
    //组织id
    private Long deptId;
    //组织类型
    private Integer deptType;
    
}